Skip to main content

Creating items within items

Overview

Many business scenario require us to create multiple tables that are linked to each other. For example - Customers table and Purchase Orders table etc.

Rapid Platform provides you with the ability to create an item for a table (say Purchase Order) from within another linked table (say Customers table). Therefore, while creating / viewing a customer's data in the Customers table, you could create a purchase order item from within the customer items context, and it will automatically be linked to the customer item.

Illustration

Imagine you are accounts manager. You are inspecting the list of various invoices received and entering details of payments made against each corresponding invoice.

You have two tables - Invoices and Payments.

Objective: You want to a record Payment item from within the Invoice item.

Follow the steps below for how to add a table in the context of another table:

  1. Navigate to Designer > Tables > All Tables

    Navigate to Designer

  2. Open your desired table. (In this case the desired table is invoices as we want to add Payments to this)

    Open the Table

  3. Click on the Design tab

    image-1702339447280.png

  4. Click on the + button on the tab strip to add a tab for you linked table (In this case we are adding a payments tab to the invoices table)

    image-1702339505429.png

  5. Select the Table dropdown and select the table you want nested in this table (In this illustration it is the Payments table)

    [NOTE:] After selecting the table this should automatically fill in the Page Name and the Tab name. If not fill in the page name with exact table name and fill in the tab name with what you want to appear on the tab when viewing the item in Explorer

    image-1702339600192.png

  6. Press Save

    image-1702339807859.png

  7. Click Launch in Explorer

    image-1702339843053.png

  8. Open an item > Press on the newly created tab > and create a linked item

    image-1702339938343.png

[NOTE:] If there is a lookup from the nested table to the table you created the tab, the items will be linked through the lookup. If there is no lookup between the tables a universal link will be created.

Please refer the below video for illustration.

How to link existing items of two different tables? (Use of Link Inheritance)